package com.zxl.fanctoryMethod;

public class Test {
	public static void main(String[] args) {
		IFactory iFactory = new AddFactory();
		Operation operation = iFactory.createOperation();
		System.out.println(operation.getResult(5,6));
	}
}
